package com.ruoyi.quartz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 股票信息对象 stock_basic
 * 
 * @author czz
 * @date 2024-04-23
 */
public class StockBasic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** ts代码 */
    @Excel(name = "ts代码")
    private String tsCode;

    /** 股票代码 */
    @Excel(name = "股票代码")
    private String symbol;

    /** 股票名称 */
    @Excel(name = "股票名称")
    private String name;

    /** 行业 */
    @Excel(name = "行业")
    private String industry;

    /** 交易所 */
    @Excel(name = "交易所")
    private String exchange;

    /** 上市日期 */
    @Excel(name = "上市日期")
    private String listDate;

    /** 是否沪深300 */
    @Excel(name = "是否沪深300")
    private String isHs300;

    /** 是否沪深港通（N否 ,H沪股通, S深股通） */
    @Excel(name = "是否沪深港通", readConverterExp = "N=否,,=H沪股通,,S=深股通")
    private String isHs;

    /** 市场类型 */
    @Excel(name = "市场类型")
    private String market;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTsCode(String tsCode) 
    {
        this.tsCode = tsCode;
    }

    public String getTsCode() 
    {
        return tsCode;
    }
    public void setSymbol(String symbol) 
    {
        this.symbol = symbol;
    }

    public String getSymbol() 
    {
        return symbol;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIndustry(String industry) 
    {
        this.industry = industry;
    }

    public String getIndustry() 
    {
        return industry;
    }
    public void setExchange(String exchange) 
    {
        this.exchange = exchange;
    }

    public String getExchange() 
    {
        return exchange;
    }
    public void setListDate(String listDate) 
    {
        this.listDate = listDate;
    }

    public String getListDate() 
    {
        return listDate;
    }
    public void setIsHs300(String isHs300) 
    {
        this.isHs300 = isHs300;
    }

    public String getIsHs300() 
    {
        return isHs300;
    }
    public void setIsHs(String isHs) 
    {
        this.isHs = isHs;
    }

    public String getIsHs() 
    {
        return isHs;
    }
    public void setMarket(String market) 
    {
        this.market = market;
    }

    public String getMarket() 
    {
        return market;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tsCode", getTsCode())
            .append("symbol", getSymbol())
            .append("name", getName())
            .append("industry", getIndustry())
            .append("exchange", getExchange())
            .append("listDate", getListDate())
            .append("isHs300", getIsHs300())
            .append("isHs", getIsHs())
            .append("market", getMarket())
            .toString();
    }
}
